<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" dir="ltr">
<head>
#if($model.CUA.id==$owner.id)
#set($title='我的收藏')
#else
#set($title=$owner.nickname+'的收藏')
#end
#headTag($title)
</head>
<body>
<div id="page">
#parse("default/_header.htm")
<div id="middle">
<div id="main_wrap">
	<div id="main">
		#topbar()
		<div class="center">
			<h1>$title</h1>
			<div class="content" style="margin-top:0px;">
				<div class="topic_list">
				<div class="nav">
			    <ul>
			    	<li><a #if(!$type)class="current"#end href="$url.base/member/${owner.id}/favorite">所有</a></li>
			    	<li><a #if($type=='topic')class="current"#end href="$url.base/member/${owner.id}/favorite/topic">主题</a></li>
			    	<li><a #if($type=='reply')class="current"#end href="$url.base/member/${owner.id}/favorite/reply">回复</a></li>
			    </ul>
			    <div class="clear"></div>
				</div>
					<ul>
					#foreach($fav in $favoriteList)
						<li>
							#if($fav.type=='subject')T:#elseif($fav.type=='reply')R:#end
							<a href="$fav.uri" target="_blank">$fav.title</a>
							<p style="background:#FFFFDD;broder:solid 1px #DDDDDD;margin-right:180px;padding:8px;">$fav.description</p>
						</li>
					#end
					</ul>
					#if($pagination.infoAmount>0)
						共有<span>${pagination.infoAmount}</span>条收藏
						<a href="#">返回顶部</a>
					#end
					#if($pagination.infoAmount==0)
						<br/>
						<h3>没有收藏</h3>
					#end
				</div>
				#pagination($pagination)
			</div>
		</div>
	</div>
</div>
#parse("default/center/_sidebar.htm")
</div>
</div>
#parse("default/_footer.htm")
</body>
</html>